home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 16
/
Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso
/
Aminet
/
util
/
misc
/
CookieMonster.readme
< prev
next >
Wrap
Text File
|
1996-11-04
|
3KB
|
59 lines
Short: Fortune Cookie/Random picture program
Author: odin@dcs.qmw.ac.uk (Andrew Elia)
Uploader: odin@dcs.qmw.ac.uk (Andrew Elia)
Type: util/misc
Cookie Monster V1.0
Undoubtedly, the first question is "why do we need another one ?".
Admittedly, the honest answer is that I couldn't get the others to
compiler correctly on a Sun SPARC! The other reason is that I didn't
like programs which hardcoded their cookies into the source code very
much, so I wrote a program that would accept a text file. Basically, I
wanted a program that I could stick in a CGI script for my otherwise
dull web page. Seeing that everyone else insisted on sticking web
counters on their pages (well, I did too, actually), I thought that I'd
opt for something different -a message of the day thingy. Well,
actually, I couldn't be bothered to write a daily updating script, so it
just updates it every time the page is accessed!
But! There's more! And as a rather crap comedian said "come 'ere".
While I was still reeling from the fact that the rather crappy GNU
compiler on the Sun managed to compile my Amiga-originated (I wouldn't
dream of developing it any other way) source code without a single
error, a friend was busy updating his web page to display a random
image. He was wrestling with a Perl script of some description, but was
getting nowhere, probably because the server was incorrectly set up to
handle Perl. It would however handle standard UNIX scripts, so after
offering my program, and creating a text file with the paths of all the
pictures, it all worked fine!
I'll confess to not being much of a HTML guru (and those that have
actually seen my web page will testify to that), or Perl for that
matter. I haven't included any sample scripts of that nature because I
haven't dabbled in CGI on the Amiga (although if it works like an
AmigaDOS script, then I'm missing out on a great deal, because UNIX
scripts are a complete pain). If you fancy a laugh (if only at the
rather sad picture of me), my web page is at
http://www.dcs.qmw.ac.uk/~odin.
The most obvious application, of course is to just stick it in your
StartUp-Sequence!
NOTE: This program is Command Line only
Andrew Elia
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
628 263 58.1% 16-Jul-91 16:29:46 CookieMonster.info
10060 6605 34.3% 16-Jul-91 15:17:18 +CookieMonster
12479 5519 55.7% 16-Jul-91 16:23:38 +CookieMonster.Guide
1817 630 65.3% 16-Jul-91 16:30:30 +CookieMonster.Guide.info
19673 3199 83.7% 23-Sep-96 16:55:10 +CookieMonster.SunOS
-------- ------- ----- --------- --------
44657 16216 63.6% 15-Oct-96 01:01:58 5 files